-- GENERATED SPELL FOR [Stromgarde Cavalryman] --


function spell0_2738(pUnit, Event) --@Rushing Charge,Self--
pUnit:FullCastSpellOnTarget(6268,pUnit)
pUnit:RegisterEvent('Sorts_2738', 3000, 1)
end

function Sorts_2738(pUnit, Event)
local choix_sorts_2738 = math.random(0, 0)
if choix_sorts_2738 == 0 then
pUnit:RegisterEvent('spell0_2738', 1, 1)
end
end

function mob2738_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2738', math.random(1500, 3000), 1)
end

function mob2738_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2738_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2738_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2738, 1, 'mob2738_Action')
RegisterUnitEvent(2738, 2, 'mob2738_Leave')
RegisterUnitEvent(2738, 3, 'mob2738_Kill')
RegisterUnitEvent(2738, 4, 'mob2738_Die')
